package cn.ibizlab.odoo.core.odoo_account.service;

import java.io.Serializable;
import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.HashMap;
import java.util.Collection;
import java.math.BigInteger;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import cn.ibizlab.odoo.core.odoo_account.domain.Account_analytic_tag;
import cn.ibizlab.odoo.core.odoo_account.filter.Account_analytic_tagSearchContext;

/**
 * 实体[Account_analytic_tag] 服务对象接口
 */

public interface IAccount_analytic_tagService{
     void createBatch(List<Account_analytic_tag> account_analytic_tags, int batchSize) ;
     Account_analytic_tag get(Integer id) ;
     Account_analytic_tag get(Account_analytic_tag account_analytic_tag) ;
     void updateBatch(List<Account_analytic_tag> account_analytic_tags, int batchSize) ;
     void removeBatch(Collection<? extends Serializable> idList, int batchSize) ;
     boolean remove(Integer id) ;
     boolean create(Account_analytic_tag account_analytic_tag) ;
     boolean update(Account_analytic_tag account_analytic_tag) ;

    /**
     * 查询集合 默认查询
     */
    Page<Account_analytic_tag> searchDefault(Account_analytic_tagSearchContext context) ;

    /**
     * 根据公司查询
     */
     Page<Account_analytic_tag> selectByOdoo_company(Integer id) ;

    /**
     * 根据用户查询
     */
     Page<Account_analytic_tag> selectByOdoo_create(Integer id) ;

    /**
     * 根据用户查询
     */
     Page<Account_analytic_tag> selectByOdoo_write(Integer id) ;

    /**
     * 转换ClientModel为Domain
     */
    public Account_analytic_tag convert2Domain(cn.ibizlab.odoo.core.client.model.Iaccount_analytic_tag model ,Account_analytic_tag domain);

    /**
     * 转换Domain为ClientModel
     */
    public cn.ibizlab.odoo.core.client.model.Iaccount_analytic_tag convert2Model(Account_analytic_tag domain , cn.ibizlab.odoo.core.client.model.Iaccount_analytic_tag model);

}
